# from selenium.webdriver.common.by import By
#
# from teacher.po_study.base.base import Base
#
#
# class BaiduHomePage(Base):
#     def __init__(self, driver):
#         Base.__init__(self,driver)
#
#     def input_search_text(self):
#         self.input((By.ID,'kw'),'布兰妮')
#
#     def click_search_button(self):
#         self.click((By.ID,'su'))
from selenium.webdriver.common.by import By

from teacher.po_study.base.base import Base


class BaiduHomePage(Base):
    def __init__(self,driver):
        Base.__init__(self,driver)

    def input_search_text(self):
        self.input((By.ID,'kw'),'布兰妮')

    def click_search_button(self):
        self.click((By.ID,'su'))